Ext.define('Service.role.view.RoleEditTabs', {
    extend: 'Ext.tab.Panel',   
    alias : 'widget.Service_role_view_RoleEditTabs',
    bodyBorder: false,
    collapsible: false,
    activeTab: 0,
    plain: true,
    
    
    initComponent: function() {
        var me = this;
        Ext.applyIf(me, {
        	items : [
    	         {
    	        	 xtype: 'panel',
                     frame: true,
                     layout: {
                         type: 'fit'
                     },
                     title: '角色信息',
                     style:{
				    	 border:'none'
				     },
                     items: [
                     	{xtype : 'Service_role_view_RoleInfoEditForm'}
                     ]
    	         },
    	         {
    	        	 xtype: 'panel',
                     layout: {
                         type: 'fit'
                     },
                     title: '权限分配',
                     style:{
				    	 border:'none'
				     },
                     items : [
                     	{
                     		xtype : 'Service_role_view_RoleAuthEditContainer',
                     		roleId : me.roleId
                     	}
                     ]
    	         },
    	         {
    	        	 xtype: 'panel',
                     floating: false,
                     layout: {
                         type: 'fit'
                     },
                     title: '人员分配',
                     style:{
				    	 border:'none'
				     },
                     items : [
                     	{
                     		xtype : 'Service_role_view_RoleUserEditContainer',
                     		roleId : me.roleId	
                     	}
                     ]
    	         }
        	]
        });
        me.callParent(arguments);
    }
});